
# home模块的序列化
from rest_framework.serializers import ModelSerializer

from . import models


class BannerModelSerializer(ModelSerializer):
    class Meta:
        model = models.Banner
        fields = ['name','note','image','link']